package com.cola.custSpeechTranscription.api;

import com.netease.lowcode.core.annotation.NaslLogic;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @BelongsProject: custSpeechTranscription
 * @BelongsPackage: com.cola.custSpeechTranscription.api
 * @Author: jiangkang
 * @CreateTime: 2025-10-31  09:28
 * @Description: TODO
 * @Version: 1.0
 */
@Component
public class CustConApi {
    @Autowired
    private CustShareSessionManager custShareSessionManager;

    @NaslLogic
    public void clearUserMessages(String userId) {
        custShareSessionManager.forceCleanupUser(userId);
    }
}